import request from '@/utils/request'

// 查询派单列表
export function getSearchToken() {
  return request({
    url: '/admin/token/getToken',
    method: 'get'
  })
}

// 查询派单详细
export function deleteToken() {
  return request({
    url: '/admin/token/deleteToken' ,
    method: 'post'
  })
}

// 新增派单
export function setSearchToken(data) {
  return request({
    url: '/admin/token/setToken',
    method: 'post',
    data: data
  })
}
